import React, { Component } from 'react';
import ReactDome from 'react-dom';

class MyComp extends Component {
  render() {
    return (
      <div className="box">{this.props.text}</div>
    );
  }
}

ReactDOM.render(
  <MyComp text="This is a text."/>,
  document.querySelector('#app')
);
